<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<div class="content">
	<form class="form-horizontal" method="post" action="${ctx }/admin/catalog/save">
		<input type="hidden" name="id" value="${catalog.id}"/>
	
		<div class="control-group">
			<label class="control-label">栏目名</label>
			<div class="controls">
				<input type="text" name="name" value="${catalog.name }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">所属目录</label>
			<div class="controls">
				<input type="text" placeholder="栏目唯一标识" name="folder" value="${catalog.folder }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">系列文章Id</label>
			<div class="controls">
				<input type="text" name="articleId" value="${catalog.articleId }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">排序</label>
			<div class="controls">
				<input type="text" name=rank value="${catalog.rank }">
			</div>
		</div>
		
		<div class="control-group">
			<div class="controls">
				<input type="submit" class="btn" value="保存">
			</div>
		</div>
		
	</form>

</div>
